<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
 */

Route::get('feedback', 'Admin\FeedbackController@feedbackView')->name('反馈表显示');

Route::post('feedback', 'Admin\FeedbackController@feedback')->name('反馈意见');

Route::post('question', 'Admin\StudentQuestionController@feedback')->middleware('throttle:500,1440')->name('学生问题吐槽'); // 1天500次，限流是针对IP
Route::get('question/basedata', 'Admin\StudentQuestionController@getClassAndTeacher')->name('班级和教师信息');
